import axios from "../../utils/axios";

// 列表
export function getList(query){
    return axios({
        url: "/admin/zhiku",
        method: "post",
        data: query
    })
}

// 发布
export function add(query) {
    return axios({
        url: "/admin/zhiku/addinfo",
        method: "post",
        data: query
    });
}

// 删除
export function del(query){
    return axios({
        url: "/admin/zhiku/delinfo",
        method: "post",
        data: query
    })
}
